﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            person Jio = new person();
            int num = 2;
            Jio.Track(ref  num);

            Console.WriteLine(num);


            person Jio_2 = new person();

            int a = 2;
            int b = 8;

            int m_max;
            int m_min;
            int c_cout;
            double  a_avg;

            Jio_2.Tread(a, b,out m_max, out m_min,out  c_cout,out a_avg);

            Console.WriteLine("最大值：{0}，最小值：{1}，和：{2}，平均值：{3}", m_max, m_min, c_cout, a_avg);

            Console.ReadKey();
        }
    }
}
